export default {
  goOutContent1: [
    { title: "日期", dataIndex: "fileDate"},
    { title: "收费站", dataIndex: "deptName" },
    { title: "名称", dataIndex: "fileAddress",isFile:true,fileName:"name",dialogTitle:'查验信息汇总'},
    { title: "查验结果", dataIndex: "resultCode",render:(text)=>{
      if(text==1) return "全部合格"
      if(text==2) return "部分合格"
      if(text==3) return "全部不合格"
    } },
    { title: "上传人", dataIndex: "userName" },
    // { title: "上传时间", dataIndex: "createTime" },
    {
      title: "操作",
      key: "operation",
      dataIndex: "operation",
      width: 280,
      dispaly: true,
      slot: true,
      fixed: "right",
    },
    { title: "备注", dataIndex: "remark" },
  ],
  goOutContent2: [
    { title: "月份", dataIndex: "month" },
    { title: "收费站", dataIndex: "deptName" },
    { title: "名称", dataIndex: "fileAddress",isFile:true,fileName:"name",dialogTitle:'通行费征收专项稽核月报'},
    { title: "上传人", dataIndex: "userName" },
    // { title: "上传时间", dataIndex: "createTime" },
    {
      title: "操作",
      key: "operation",
      dataIndex: "operation",
      width: 250,
      dispaly: true,
      slot: true,
      fixed: "right",
    },
  ],
  goOutContent3: [
    { title: "月份", dataIndex: "month" },
    { title: "收费站", dataIndex: "deptName" },
    { title: "名称", dataIndex: "fileAddress",isFile:true,fileName:"name",dialogTitle:'月对账分析报告'},
    { title: "上传人", dataIndex: "userName" },
    // { title: "上传时间", dataIndex: "createTime" },
    {
      title: "操作",
      key: "operation",
      dataIndex: "operation",
      width: 250,
      dispaly: true,
      slot: true,
      fixed: "right",
    },
  ],

  formItemConfig1: [
   
    {
      label: "日期",
      prop: "fileDate",
      component: "date",
      clearable: true,
      type: "date",
      format: "YYYY-MM-DD",
      labelWidth:'120px'
    },
    {
      label: "查验有问题数量",
      prop: "errorNo",
      component: "input",   
      clearable: true,   
      placeholder: "请输入",
      span: 24,
      labelWidth:'120px',
      width: "3%",
    },
    {
      label: "查验结果",
      prop: "resultCode",
      component: "select",
      placeholder: "请选择",
      span: 24,
      options:[
        {label:"全部合格",value:"1"},
        {label:"部分合格",value:"2"},
        {label:"全部不合格",value:"3"}
      ],
      labelWidth:'120px',
      width: "3%",
    },
    {
      label: "上传附件",
      prop: "fileAddress",
      component: "file",
      placeholder: "请输入",
      span: 24,
      labelWidth:'120px'
    },  
    {
      label: "备注",
      prop: "remark",
      component: "input",
      type:"textarea",
      placeholder: "请输入",
      span: 24,
      labelWidth:'120px'
    },  
  ],
  formItemConfig2: [
    {
      label: "名称",
      prop: "name",
      component: "input",
      placeholder: "请选择",
      span: 24,
    },
    {
      label: "日期",
      prop: "yearMonth",
      component: "date",
      clearable: true,
      type: "month",
      format: "YYYY-MM",
    },
    {
      label: "上传附件",
      prop: "fileAddress",
      component: "file",
      placeholder: "请输入",
      span: 24,
    },     
  ],
  formItemConfig3: [
    {
      label: "名称",
      prop: "name",
      component: "input",
      placeholder: "请选择",
      span: 24,
    },
    {
      label: "月份",
      prop: "yearMonth",
      component: "date",
      clearable: true,
      type: "month",
      format: "YYYY-MM",
    },
    {
      label: "上传附件",
      prop: "fileAddress",
      component: "file",
      placeholder: "请输入",
      span: 24,
    },      
  ],
 

};
